package com.itheima.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mall.dto.CouponDto;
import com.itheima.mall.pojo.Coupon;
import com.itheima.mall.vo.PageResult;

public interface SmsCouponService extends IService<Coupon> {
    void create(CouponDto couponParam);

    void delete(Long id);

    PageResult list(String name, Integer pageNum, Integer pageSize, Integer type);

    void update(CouponDto couponParam, Long id);

    CouponDto coupon(Long id);
}
